package com.lee9213.demo.biz;


import com.lee9213.demo.entity.DemoEntity;

/**
 * @author libo
 * @version 1.0
 * @date 2017/11/24 11:21
 */
public interface IDemoBiz {

    /**
     * 添加对象
     *
     * @param entity
     * @return 主键ID
     */
    Long save(DemoEntity entity);

    /**
     * 修改对象
     *
     * @param entity
     * @return
     */
    Integer update(DemoEntity entity);
}
